package com.jmp.api.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.List;

@Data
@Builder
public class TemplateListResponse {
    @ApiModelProperty(value = "海报列表", dataType = "TemplateListResponse.Template")
    private List<Template> templates;

    @ApiModel("TemplateListResponse.Template")
    @Data
    @Builder
    public static class Template {
        @ApiModelProperty("海报ID")
        private Integer id;
        @ApiModelProperty("海报地址")
        private String imgUrl;
        @ApiModelProperty("自定义图:宽")
        private Integer imgWidth;
        @ApiModelProperty("自定义图:高")
        private Integer imgHeight;
        @ApiModelProperty("海报:宽")
        private Integer imgUrlWidth;
        @ApiModelProperty("海报:高")
        private Integer imgUrlHeight;
        @ApiModelProperty("自定义图位置:宽(以左上角)")
        private Integer positionWidth;
        @ApiModelProperty("自定义图位置:高(以左上角)")
        private Integer positionHeight;
    }
}
